package org.szy.plugin.sys.entity;

import com.mybatisflex.annotation.Table;
import org.szy.core.common.entity.BaseEntity;
import org.szy.core.common.listener.BaseInsertListener;
import org.szy.core.common.listener.BaseUpdateListener;

import java.time.LocalDateTime;

/**
 * 系统人员实体
 *
 * @author wangbuhao
 * @since 2023-06-20 11:54:51
 **/
@Table(value = "sys_person", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class)
public class SysPerson extends BaseEntity {

    /** 头像 */
    private String avatar;
    /** 人员名称 */
    private String name;
    /** 性别(1-男，2-女，3-未知) */
    private Integer sex;
    /** 年龄 */
    private Integer age;
    /** 出生日期 */
    private String birth;
    /** 民族 */
    private String nation;
    /** 籍贯 */
    private String nativePlace;
    /** 家庭住址 */
    private String homeAddress;
    /** 通信地址 */
    private String mailingAddress;
    /** 证件类型 */
    private String idCardType;
    /** 证件号码 */
    private String idCardNumber;
    /** 文化程度 */
    private String cultureLevel;
    /** 政治面貌 */
    private String politicalOutlook;
    /** 毕业院校 */
    private String college;
    /** 学历 */
    private String education;
    /** 学制 */
    private String eduLength;
    /** 学位 */
    private String degree;
    /** 手机 */
    private String phone;
    /** 邮箱 */
    private String email;
    /** 家庭电话 */
    private String homeTel;
    /** 办公电话 */
    private String officeTel;
    /** 紧急联系人 */
    private String emergencyContact;
    /** 紧急联系人电话 */
    private String emergencyPhone;
    /** 紧急联系人地址 */
    private String emergencyAddress;
    /** 员工编号 */
    private String empNo;
    /** 入职日期 */
    private LocalDateTime entryDate;
    /** 机构id */
    private String orgId;
    /** 职位id */
    private String positionId;
    /** 职级 */
    private String positionName;
    /** 备注 */
    private String remake;
    /** 状态（ 0停用 1启用） */
    private Integer status;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getSex() {
        return sex;
    }
    public void setSex(Integer sex) {
        this.sex = sex;
    }
    public Integer getAge() {
        return age;
    }
    public void setAge(Integer age) {
        this.age = age;
    }
    public String getBirth() {
        return birth;
    }
    public void setBirth(String birth) {
        this.birth = birth;
    }
    public String getNation() {
        return nation;
    }
    public void setNation(String nation) {
        this.nation = nation;
    }
    public String getNativePlace() {
        return nativePlace;
    }
    public void setNativePlace(String nativePlace) {
        this.nativePlace = nativePlace;
    }
    public String getHomeAddress() {
        return homeAddress;
    }
    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }
    public String getMailingAddress() {
        return mailingAddress;
    }
    public void setMailingAddress(String mailingAddress) {
        this.mailingAddress = mailingAddress;
    }
    public String getIdCardType() {
        return idCardType;
    }
    public void setIdCardType(String idCardType) {
        this.idCardType = idCardType;
    }
    public String getIdCardNumber() {
        return idCardNumber;
    }
    public void setIdCardNumber(String idCardNumber) {
        this.idCardNumber = idCardNumber;
    }
    public String getCultureLevel() {
        return cultureLevel;
    }
    public void setCultureLevel(String cultureLevel) {
        this.cultureLevel = cultureLevel;
    }
    public String getPoliticalOutlook() {
        return politicalOutlook;
    }
    public void setPoliticalOutlook(String politicalOutlook) {
        this.politicalOutlook = politicalOutlook;
    }
    public String getCollege() {
        return college;
    }
    public void setCollege(String college) {
        this.college = college;
    }
    public String getEducation() {
        return education;
    }
    public void setEducation(String education) {
        this.education = education;
    }
    public String getEduLength() {
        return eduLength;
    }
    public void setEduLength(String eduLength) {
        this.eduLength = eduLength;
    }
    public String getDegree() {
        return degree;
    }
    public void setDegree(String degree) {
        this.degree = degree;
    }
    public String getPhone() {
        return phone;
    }
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getHomeTel() {
        return homeTel;
    }
    public void setHomeTel(String homeTel) {
        this.homeTel = homeTel;
    }
    public String getOfficeTel() {
        return officeTel;
    }
    public void setOfficeTel(String officeTel) {
        this.officeTel = officeTel;
    }
    public String getEmergencyContact() {
        return emergencyContact;
    }
    public void setEmergencyContact(String emergencyContact) {
        this.emergencyContact = emergencyContact;
    }
    public String getEmergencyPhone() {
        return emergencyPhone;
    }
    public void setEmergencyPhone(String emergencyPhone) {
        this.emergencyPhone = emergencyPhone;
    }
    public String getEmergencyAddress() {
        return emergencyAddress;
    }
    public void setEmergencyAddress(String emergencyAddress) {
        this.emergencyAddress = emergencyAddress;
    }
    public String getEmpNo() {
        return empNo;
    }
    public void setEmpNo(String empNo) {
        this.empNo = empNo;
    }
    public LocalDateTime getEntryDate() {
        return entryDate;
    }
    public void setEntryDate(LocalDateTime entryDate) {
        this.entryDate = entryDate;
    }
    public String getOrgId() {
        return orgId;
    }
    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
    public String getPositionId() {
        return positionId;
    }
    public void setPositionId(String positionId) {
        this.positionId = positionId;
    }
    public String getPositionName() {
        return positionName;
    }
    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }
    public String getRemake() {
        return remake;
    }
    public void setRemake(String remake) {
        this.remake = remake;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }

}
